/*

    公共样式

 */

/* 返回顶部 */
.backtop {
  display: block;
  height: 35px;
  position: fixed;
  width: 80px;
  right: 0;
  bottom: 50px;
  z-index: 3334;

  a {
    border-radius: 3px 0 0 3px;
    padding-left: 10px;
    display: block;
    width: 80px;
    height: 35px;
    text-align: left;
    transition: all 0.2s;
    position: absolute;
    z-index: 1234;
    line-height: 35px;
    color: #fff;
    background-color: #7a6e6e;
    left: 35px;
    top: 0;

    &:hover {
      left: 0;
      background-color: #c81623;
    }
  }
}

header {
  background-color: #fff;

  .header-w {
    border-top: 1px solid transparent;
    //background-color: pink;
    height: 130px;
    position: relative;
    /* logo */

    .logo {
      position: absolute;
      top: 0;
      left: 0;
      width: 159px;
      height: 130px;
      z-index: 999;

      h1 {
        width: 100%;
        height: 100%;

        a {
          display: block;
          width: 100%;
          height: 100%;
          background: url("../images/index/fake_logo.png") no-repeat 0 0;
          background-size: cover;
        }
      }
    }

    /* 搜索框 */

    #search {
      width: 100%;
      height: 79px;
      //background-color: cyan;
      position: relative;

      .search-m {
        height: 100%;
      }

      .form {
        position: absolute;
        left: 288px;
        bottom: 0;
        width: 542px;
        height: 45px;

        .search-btn {
          width: 69px;
          height: 45px;
          background-color: #fe2929;
          //border: none;
          border: solid 1px #fe2929;
          font-size: 18px;
          color: #fff;
          font-family: PingFangSC-;
          cursor: pointer;
        }

        .search-inp {
          font-family: PingFangSC-;
          width: 473px;
          height: 45px;
          position: absolute;
          right: 0;
          //border: none;
          border: 1px solid #ff3434;
          padding-left: 18px;
          font-size: 18px;
          color: #333 !important;

          /* chrome */

          &::-webkit-input-placeholder {
            color: rgb(200, 200, 200);
            font-size: 14px;
          }


          /* Mozilla Firefox 4 to 18 */

          input:-moz-placeholder {
            color: #C0C0C0;
            opacity: 1;
            font-size: 14px;
          }

          /* Mozilla Firefox 19+ */

          input::-moz-placeholder {
            color: #C0C0C0;
            opacity: 1;
            font-size: 14px;
          }

          /* Internet Explorer 10+ */

          input:-ms-input-placeholder {
            color: #C0C0C0;
            font-size: 14px;
          }


          &:focus {
            outline: none;
            box-shadow: 0 0 2px inset #ff3434;
          }
        }
      }

      /* 搜索热词 */

      .search-word {
        position: absolute;
        width: 542px;
        height: 17px;
        //background-color: cyan;
        top: 86px;
        left: 288px;

        a {
          font-size: 12px;
          margin-right: 9px;

          &:hover {
            color: #fe2929;
          }
        }
      }
    }

    .search-fix {
      width: 100%;
      position: fixed !important;
      height: 60px !important;
      top: 0;
      left: 0;
      z-index: 999;
      background-color: #fff;
      border-bottom: 2px solid #f32222;
      animation: searchTop 0.5s ease-in-out;

      .form {
        height: 35px;
        top: 10px;
        left: 50% !important;
        transform: translateX(-50%);
        //border: none;

        .search-btn {
          height: 35px !important;
          border: none !important;
          //border-radius: 5px;
          background: linear-gradient(to right, #fd2323, #fd0505); /* 标准的语法 */
        }

        .search-inp {
          height: 35px !important;
          //border: none !important;
          //border-right: 2px solid #f32222 !important;
          //border-left: 2px solid #f32222 !important;
          //border-radius: 5px;
        }
      }

      .search-word {
        display: none;
      }
    }

    @keyframes searchTop {
      0% {
        top: -50px;
      }

      100% {
        top: 0;
      }
    }

    /* 三个图标 */

    .join {
      position: absolute;
      right: 0;
      top: 0;
      //background-color: #c7ff77;
      width: 251px;
      height: 40px;
      margin-top: 33px;
      display: flex;
      justify-content: space-between;

      a {
        flex: 0 0 48px;

        img {
          width: 40px;
          display: block;
        }

        p {
          color: #333;
          font-size: 12px;
          text-align: center;
          line-height: 20px;
        }
      }
    }
  }
}

/* 页脚 */
footer {
  padding-top: 26px;
  padding-bottom: 26px;
  display: flex;
  justify-content: space-between;
  /* 左logo */

  .footer-logo {
    flex: 0 0 250px;

    h2 {
      width: 100%;

      a {
        display: block;
        width: 100%;
        height: 100%;

        img {
          display: block;
          width: 100%;
          height: 100%;
        }
      }
    }
  }

  /* 中间信息 */

  div {
    flex: 0 0 450px;
    height: 100%;

    h2 {
      font-size: 35px;
      color: #333333;
    }

    .bot-nav {
      margin-top: 42px;
      margin-bottom: 42px;
      //height: 21px;

      li {
        float: left;

        &:not(.last) {
          margin-right: 30px;
        }

        a {
          font-size: 14px;
        }
      }
    }

    p {
      text-align: center;
      font-size: 12px;
      color: #333;
    }
  }

  > a {
    flex: 0 0 116px;
    display: block;
  }
}


/* 导航栏开始 */
.my-tab-cls {
  margin-top: 1px !important;
  width: 100% !important;
  background-color: #e8332f !important;

  .nav {
    //left: 349px!important;
    position: static;

    ul {
      li {
        width: 160px !important;

        a {
          font-size: 20px !important;

          &.current {
            background-color: #c5181f !important;
          }

          &:hover {
            background-color: #c5181f !important;
          }
        }
      }
    }
  }
}

/* 导航栏结束 */

input{
  font-family: PingFangSC-;
}
